<html>

<body>
    <object id="swf" type="application/x-shockwave-flash" data="123.swf" width="100%" height="100%">
        <param name="movie" value="123.swf" />
        <param name="quality" value="high" />
        <embed name="swf">
    </object>
</body>
<script>
    setInterval(() => {
      console.log(document.swf)
      document.swf.Play()
    }, 1000)
</script>

</html>
